package cn.quartz.spring;

import java.text.SimpleDateFormat;
import java.util.Date;

public class MyJob {
	
	private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	
	public void execute(){
		Date date = new Date();
		System.out.println("this is myJob ... " + sdf.format(date));
	}
	
}
